import 'package:flutter/material.dart';
import 'package:flutter_widgets_pc/theme/kq_theme_manager.dart';


import '../../resources/kq_theme_colors.dart';

/// 通用表单组件 - 空白行，高度默认8
///
/// [ItemType.empty]
///
/// @author 周卓
///
class KqEmptyItemView extends StatelessWidget {
  /// 空白高度
  final double? height;

  const KqEmptyItemView({Key? key, this.height}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    /// 空白
    return Container(
      width: double.infinity,
      height: height ?? 8,
      color: KqThemeManager.getCommonConfig().bgColor ?? KqThemeColors.bgF4,
    );
  }
}
